package com.ruoyi.rsikManage.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Objects;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Algorithm {
    //自增主键
    private Integer id;
    private String algoId;
    private String algoName;
    private String algoType;
    private Integer algoStatus;
    private String algoDescription;
    private String installTime;



    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Algorithm algorithm = (Algorithm) o;
        return Objects.equals(algoId, algorithm.algoId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(algoId);
    }
}
